package com.zxy.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

//分页参数
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageDTO {
    private int pageNum;
    private int pageSize;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginCreateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endCreateTime;

    private Integer courseId;//购买课程id

    private Integer subject; //学科id

    private String phone; //手机号码

    private String name; //客户名称

    private String contractNo;//合同编号
}
